package com.sumqun.mall.dao;

import java.util.List;

import com.sumqun.mall.entity.Account;

public interface AccountDao {
	
	public Account findLoginUser(String username,String password,String usertype);
	
		
	public List findAllAccount(int offset, int pageSize);	
	
	public int findAllCount();
	
	public void addAccount(Account account);

	public void editAccount(Account account);

	public void removeAccount(int uid);

	Account findAccountById(int uid);

}
